package com.shop.loan.model.vo;

import com.shop.loan.model.PlatformSetting;
import com.shop.loan.model.entity.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("首页数据")
@Data
public class AppHomeVo {

    @ApiModelProperty(name = "homeInfo", value = "图片列表", dataType = "list", example = "[]")
    List<AppHomeSettingByMybatis> homeInfo;

    @ApiModelProperty(name = "hotGoods", value = "热门商品-只返回10条，下页从商品列表获取 isHot=1", dataType = "list", example = "[]")
    List<GoodsByMybatis> hotGoods;

    @ApiModelProperty(name = "topClassify", value = "榜单类目", dataType = "list", example = "[]")
    List<ClassifyByMybatis> topClassify;

    @ApiModelProperty(name = "系统设置", value = "系统设置", dataType = "{}", example = "{}")
    PlatformSetting platformSetting;

    List<String> notices;

}
